/**
 * Created with hong.rong
 * Date:2020/07/07
 */

import request from '@/utils/request'

/**
 * 获取类目接口
 * @param params
 * @returns {Promise<*>}
 */
export async function getGroupBuyList(params = {}) {
  return request.post('/admin/group/list', { params })
}

/**
 * 新增修改类目
 * @param data
 * @returns {Promise<*>}
 */
export async function groupBuyModify(data = {}) {
  return request.post('/admin/group/modify', data)
}
